package com.jrx.anytxn.transaction.mapper.base;

import com.jrx.anytxn.transaction.entity.TlLoanFailLog;

public interface TlLoanFailLogMapper {
    /**
     * 根据主键删除 API同步放款失败记录表
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存API同步放款失败记录表
     * @param record TlLoanFailLog
     * @return int
     */
    int insert(TlLoanFailLog record);

    /**
     * 根据字段是否为空保存 API同步放款失败记录表
     * @param record TlLoanFailLog
     * @return int
     */
    int insertSelective(TlLoanFailLog record);

    /**
     * 根据主键查询 API同步放款失败记录表
     * @param id Long
     * @return TlLoanFailLog
     */
    TlLoanFailLog selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 API同步放款失败记录表
     * @param record TlLoanFailLog
     * @return int
     */
    int updateByPrimaryKeySelective(TlLoanFailLog record);

    /**
     * 根据主键更新所有字段 API同步放款失败记录表
     * @param record TlLoanFailLog
     * @return int
     */
    int updateByPrimaryKey(TlLoanFailLog record);
}